home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / antenna / azproj10 / nmea.dat < prev    next >
Text File  |  1995-07-19  |  3KB  |  71 lines

  1. %--------------------------------------
  2. % nmea.dat file for az_proj
  3. % File for NMEA (National Marine Electronics Assoc) 0183 standard codes
  4. %
  5. % allows entering of QTH lat/lon co-ordinates from external devices
  6. % such as GPS receivers, rather than having to enter the data
  7. % into az_ini.ps with an editor.
  8. % This feature was suggested by Paul N1BWT for use by moutain toppers.
  9. %
  10. % only GLL (Geog Lat/Lon)
  11. % and BWC (bearing to waypoint along Great Circle) are implemented
  12. %
  13. % The file consists of any number of lines of NMEA codes which could
  14. % in principle be captured from a GPS receiver on the serial port
  15. % by a program like kermit.
  16. %
  17. % For those of you who have azimuth indicators, wind speed and
  18. % direction indicators, thermometers, hygrometers, etc, hooked
  19. % up to your computer, so that they can output a line of data to
  20. % a file, then presumably this information can be drawn with az_proj as well.
  21. %
  22. % I don't have a GPS receiver to test this.
  23. % I got the specs from Paul Wade N1BWT, who
  24. % sent me an article by Wayne Simpson (wms@spin.ho.att.com)
  25. % and from Mike Owen W9IP. Thanks to Jim KC7MJ for a lead to a WWW site
  26. % Let me know if it works (or doesn't work) -JM
  27. %
  28. % The full NMEA specs are available from
  29. % NMEA, PO Box 50040, Mobile, AL, 36605, USA, (205)-473-1793.
  30. % (This is more than you'll ever want to know, 
  31. % instead read Wayne Simpson's article, simpson.doc 
  32. % included with this package by kind permission of Wayne.)
  33. %
  34. % The NMEA device will send 4800,N,1 packets down your serial line
  35. % which you can capture with some program like kermit. You'll get
  36. % (I think) 1-5 lines repeated about every 2 secs.
  37. % Possible lines as they will come down your serial line
  38. % (#'s are digits that I haven't figured out what they do,
  39. % - I don't parse them)
  40. % the data line is recognised by the string ($GP) at the start
  41. % of the line and a comma anywhere else in the line
  42. %
  43. % If you're going to be using nmea data, then be careful
  44. % if you have center_offset on. Az_proj calculates the
  45. % bearing/distance from the QTH to the new center and
  46. % then translates the map by this amount for all subsequent
  47. % calculations. If you then read in the nmea.dat file
  48. % changing the QTH, the actual (offset) center will be displaced
  49. % by the distance between the QTH in az_ini.ps and in nmea.dat.
  50. % If this distance is small on the scale of the map, then you
  51. % probably will not notice anything. If the distance is large
  52. % then the projection will still be correct (from the nmea.dat QTH)
  53. % but the center of the map won't be where you asked it to be.
  54. %
  55. % The lat/lon of the QTH in az_ini.ps is overwritten by the nmea.dat data
  56. % However the QTH_name is not (it's written out onto the Title
  57. % before this file is read). So change it manually yourself
  58. % to something like (mountain top).
  59. %
  60. % The time (hour/min) in az_ini.ps is overwritten by BWC,
  61. % giving the correct lon for the sun.
  62. % However there is no date info from GPS
  63. % and the date is not overwritten.
  64. % the date must be entered in az_ini.ps
  65. % to give the correct latitude for the sun
  66. %
  67. $GPGLL,4130.34,N,7135.42,W
  68. $GPBOD,120,T, 125,M,####,####
  69. $GPBWC,235959,4359.00,N,7459.00,W,175,T,185,M,252.5,N,####
  70. %--------------------------------------nmea.dat
  71.